package com.bupt.jack.model;

/**
 * Order entity. @author MyEclipse Persistence Tools
 */

public class Order implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 6150176652613013384L;
	private Long id;
	private Long userId;
	private Long groupItemId;
	private Integer count;
	private Double totalPrice;
	private Integer status;
	private Integer isDelete;

	// Constructors

	/** default constructor */
	public Order() {
	}

	/** minimal constructor */
	public Order(Long id, Long userId, Long groupItemId) {
		this.id = id;
		this.userId = userId;
		this.groupItemId = groupItemId;
	}

	/** full constructor */
	public Order(Long id, Long userId, Long groupItemId, Integer count,
			Double totalPrice, Integer status, Integer isDelete) {
		this.id = id;
		this.userId = userId;
		this.groupItemId = groupItemId;
		this.count = count;
		this.totalPrice = totalPrice;
		this.status = status;
		this.isDelete = isDelete;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getGroupItemId() {
		return this.groupItemId;
	}

	public void setGroupItemId(Long groupItemId) {
		this.groupItemId = groupItemId;
	}

	public Integer getCount() {
		return this.count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public Double getTotalPrice() {
		return this.totalPrice;
	}

	public void setTotalPrice(Double totalPrice) {
		this.totalPrice = totalPrice;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getIsDelete() {
		return this.isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

}